package com.springBoot.springBootSysCore.modules.entity.system;

import com.springBoot.springBootSysCore.common.comment.annotation.MyComment;
import com.springBoot.springBootSysCore.common.persistence.DataEntity;

import javax.persistence.*;

/**
 * app引导图
 * Created by timo on 2017/12/1.
 */
@Table(name="SYS_INTRO")
@Entity
@MyComment("app引导图表")
public class SysIntro extends DataEntity<SysIntro>{

    private String img;//图片
    private String objId;//跳转对象id
    private int sort;//排序

//    private Course course;//跳转课程


    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getObjId() {
        return objId;
    }

    public void setObjId(String objId) {
        this.objId = objId;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }


//    @ManyToOne(fetch = FetchType.EAGER)
//    @JoinColumn(name="cou_id")
//    @MyComment("课程id")
//    public Course getCourse() {
//        return course;
//    }
//
//    public void setCourse(Course course) {
//        this.course = course;
//    }
}
